/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.util.Date;
import java.util.Timer;
/**
 *
 * @author John
 */
public class MainTask {

    /**
     * @param args the command line arguments
     */
    public void execute()
    {
        Timer timer=new Timer();
        Job job=new Job();
        Date date=new Date();
        long timestamp=5000;
        System.out.println("run");
        timer.schedule(job, date,timestamp);
    }
    public static void main(String[] args) {
        MainTask dealjob=new MainTask();
        dealjob.execute();
    }

}
